<template>
  <div class="container">
    <!-- <div class="box">
      <header class="header">头部</header>
      <div class="content">内容</div>
    </div> -->
    <router-view></router-view>
    <router-view name="footer"></router-view>
    <!-- <footer class="footer">
      <ul>
        <router-link to="/home">
          <li>
            <span class="iconfont icon-shouye"></span>
            <p>首页</p>
          </li>
        </router-link>
        <router-link to="/kind">
          <li>
            <span class="iconfont icon-fenlei"> </span>
            <p>分类</p>
          </li>
        </router-link>
        <router-link to="/cart">
          <li>
            <span class="iconfont icon-gouwuche"></span>
            <p>购物车</p>
          </li>
        </router-link>
        <router-link to="/user">
          <li>
            <span class="iconfont icon-wode"></span>
            <p>我的</p>
          </li>
        </router-link>
      </ul>
    </footer> -->
  </div>
</template>
<script>

</script>
<style lang="scss">
* {
  margin: 0;
  padding: 0;
  list-style: none;
}

html,
body,
#app,
.container {
  width: 100%;
  height: 100%;
}


.container {
  display: flex;
  flex-direction: column;
  background-color: #efefef;
  // pc端不全屏展示
  max-width: 750px;
  margin: 0 auto;

  .box {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;

    .header {
      height: 50px;
      background: rgb(255, 2, 2);
    }

    .content {
      flex: 1;
      overflow: auto;
    }
  }

  .footer {
    height: 50px;
    background: rgb(182, 180, 180);

    ul {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;

      a {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #000;
        text-decoration: none;
        text-align: center;

        &.router-link-active {
          color: red
        }

        span {
          font-size: 20px;
        }
      }
    }
  }
}

.van-submit-bar,
.van-action-bar {
  position: static !important
}

.van-address-list__add {
  max-width: 640px !important;
  margin: 5px auto !important;
}
</style>
